package com.hntest.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PaymentScheduleDetail implements Serializable {
    private static final long serialVersionUID = -4616263329611617633L;

    private Integer paymentScheduleDetailId;
    private BigDecimal bidAmount;//投标金额
    private Long bidId;//对应投标id
    private BigDecimal totalAmount=BidConst.ZERO;//本期还款总金额
    private BigDecimal principal=BidConst.ZERO;//本期应还款本金
    private BigDecimal interest=BidConst.ZERO;//本期应还利息
    private int monthIndex;//第几期
    private Date deadline;//本期还款戒指日期
    private Date payDate;//实际付款日期
    private int returnType;//还款方式
    private Long paymentscheduleId;//所属还款计划
    private LoginInfo fromLoginInfo;//还款人
    private LoginInfo toLoginInfo;//收款人


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getPaymentScheduleDetailId() {
        return paymentScheduleDetailId;
    }

    public void setPaymentScheduleDetailId(Integer paymentScheduleDetailId) {
        this.paymentScheduleDetailId = paymentScheduleDetailId;
    }

    public BigDecimal getBidAmount() {
        return bidAmount;
    }

    public void setBidAmount(BigDecimal bidAmount) {
        this.bidAmount = bidAmount;
    }

    public Long getBidId() {
        return bidId;
    }

    public void setBidId(Long bidId) {
        this.bidId = bidId;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPrincipal() {
        return principal;
    }

    public void setPrincipal(BigDecimal principal) {
        this.principal = principal;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }

    public int getMonthIndex() {
        return monthIndex;
    }

    public void setMonthIndex(int monthIndex) {
        this.monthIndex = monthIndex;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public int getReturnType() {
        return returnType;
    }

    public void setReturnType(int returnType) {
        this.returnType = returnType;
    }

    public Long getPaymentscheduleId() {
        return paymentscheduleId;
    }

    public void setPaymentscheduleId(Long paymentscheduleId) {
        this.paymentscheduleId = paymentscheduleId;
    }

    public LoginInfo getFromLoginInfo() {
        return fromLoginInfo;
    }

    public void setFromLoginInfo(LoginInfo fromLoginInfo) {
        this.fromLoginInfo = fromLoginInfo;
    }

    public LoginInfo getToLoginInfo() {
        return toLoginInfo;
    }

    public void setToLoginInfo(LoginInfo toLoginInfo) {
        this.toLoginInfo = toLoginInfo;
    }
}
